/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yang
 * Date: 2022-04-28
 * Time: 18:46
 */
public class Main {
    public static int add(int a, int b){
        return a+b;
    }

    public static int add(int a, int b, int c){
        return a+b+c;
    }
    public static void main(String[] args) {
        int a=1;
        int b=2;
        int c=3;
        System.out.println(add(a,b));
        System.out.println(add(a,b,c));
    }
}
